package com.boot.unity.api.common.base.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@ApiModel
@Data
public abstract class BaseEntity<ID extends Serializable> implements Serializable {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(hidden = true)
	private ID id;
	@ApiModelProperty(hidden = true)
	private LocalDateTime createTime;
	@ApiModelProperty(hidden = true)
	private LocalDateTime updateTime;
}
